package com.hbnu.exercise.thread;

public class ProducerThread implements Runnable
{
    private Box box;

    public ProducerThread(Box box)
    {
        this.box = box;
    }

    @Override
    public void run()
    {
        while (true)
            box.GetProduct();
    }
}
